
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />

<title><?php
	/*
	 * Print the <title> tag based on what is being viewed.
	 */
	global $page, $paged;

	wp_title( '|', true, 'right' );

	// Add the blog name.
	bloginfo( 'name' );

	// Add the blog description for the home/front page.
	$site_description = get_bloginfo( 'description', 'display' );
	if ( $site_description && ( is_home() || is_front_page() ) )
		echo " | $site_description";

	// Add a page number if necessary:
	if ( $paged >= 2 || $page >= 2 )
		echo ' | ' . sprintf( __( 'Page %s', 'gp' ), max( $paged, $page ) );

	?></title>
<link rel="profile" href="http://gmpg.org/xfn/11" />

<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<?php wp_enqueue_script('jquery'); // Load jQuery ?>
<?php // Comment threading
	if ( is_singular() && get_option( 'thread_comments' ) )
		wp_enqueue_script( 'comment-reply' );
	// wp_head Do not remove.
	wp_head();
?>
<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
<!--[if lte IE 8]> 
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> 
<![endif]-->

<style type="text/css">
<!--
#coming-wrapper {margin:10em auto; padding-top:.063em; border-top:.625em solid #7090a8; border-bottom:.938em solid #000; background-color:#fff; max-width:1100px;	-webkit-box-shadow: 0 0 .625em .375em rgba(0, 0, 0, 0.4); -moz-box-shadow: 0 0 .625em .375em rgba(0, 0, 0, 0.4); box-shadow: 0 0 .625em .375em rgba(0, 0, 0, 0.4); text-align:center; }
#coming-branding h1 {font:normal 3em 'Dancing Script', Arial, Helvetica, sans-serif; margin:.55em 0 .5em;}
h2 {margin-bottom:.688em; font:normal 2em 'Cuprum', Georgia, "Times New Roman", Times, serif;	color:#333;}
#content {padding:0 0 3em 0;}
* html .clearfix {height:1%;}
html[xmlns] .clearfix { display:block; }
.clearfix:after {content:"."; display:block; height:0; clear:both; visibility:hidden;}
.button  {font:italic 1em/1.25em Geneva, Arial, Helvetica, sans-serif; width:auto; padding:5px 15px 4px; -webkit-border-radius: 5px;
	-moz-border-radius: 5px; border-radius: 5px; margin:15px 0; border:none; cursor:pointer;}
.button {background-color:<?php echo of_get_option('button_bg'); ?>; color:<?php echo of_get_option('button_text'); ?>;}
.button:hover {background-color:<?php echo of_get_option('button_bg_hover'); ?>; color:<?php echo of_get_option('button_text'); ?>;}
-->
</style>
<!--[if lte IE 8]>
<link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/css/ie8.css" media="screen" type="text/css" />
<![endif]-->
<link href='http://fonts.googleapis.com/css?family=Dancing+Script' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Cuprum' rel='stylesheet' type='text/css'> 

</head>
<body>
<div id="coming-wrapper" style="border-top-color:<?php echo of_get_option('top_border'); ?>; border-bottom-color:<?php echo of_get_option('bottom_border'); ?>;">
	<div id="coming-branding"><h1><?php bloginfo('name'); ?></h1></div>
		<div id="content">
			<div style="margin:auto; text-align:center; width:90%">
			<h2 style="margin-top:17px;"><?php echo of_get_option('error_title'); ?></h2>
			<p style="font-size:16px; line-height:22px;"><?php echo of_get_option('error_text1'); ?></p>    	
				<img src="<?php echo get_template_directory_uri(); ?>/images/404.png" alt="404 error" width="536" height="218" style="margin:30px auto;"/>
			<p style="font-size:16px; line-height:22px;"><?php echo of_get_option('error_text2'); ?></p>		
			<a class="button" href="<?php echo of_get_option('error_button_link'); ?>"><?php echo of_get_option('error_button_text'); ?></a>
			<div class="clearfix"></div>
		</div>
	</div>
</div>		
</body>
</html>